Skip to content

add worklets patch for extra react native host preventing profiling#3604

Merged
FLGMwt merged 1 commit into
mainfrom
mob-1407-worklets-patch-for-extra-react-native-host
May 11, 2026
Merged

add worklets patch for extra react native host preventing profiling#3604
FLGMwt merged 1 commit into
mainfrom
mob-1407-worklets-patch-for-extra-react-native-host

Conversation

@FLGMwt

@FLGMwt FLGMwt commented May 8, 2026

Copy link
Copy Markdown
Member

The Profiling Dev Tools tab is disabled with message "Multiple React Native hosts not supported". This is related to us seeing two duplicate attach options when launching the dev tools through the dev server.

Issue: react-native-community/discussions-and-proposals#954

Comment w/ patch:react-native-community/discussions-and-proposals#954 (reply in thread)

As I understand, this change only affects users debugging against worklets itself.

With this, I am able to start and stop a profiling session and get a result.

Pretty much anything "useful", even a couple taps in under 5s results in the dev tools hanging and becoming unresponsive. I discovered that it eventually completes processing, even if the device's connection with dev tools times out. Once it's done, you get the pop up of "dev tools disconnected. Reconnect? Dismiss?" <- you have to dismiss to get to the actual results or you'll lose the profiling session.

EDIT: it took a while for me to trust that it actually eventually worked consistently. I now trust that it does, one just has to be patient.

Would welcome anyone trying this out!

fixes MOB-1407

@semanticdiff-com

Copy link
Copy Markdown

Review changes with  SemanticDiff

@sepeterson sepeterson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had trouble with this the other day. Much appreciated!

@jtklein jtklein left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works on my end as well. (Also Android still working after the PR)

@FLGMwt FLGMwt merged commit 6a1e6af into main May 11, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants